package cn.dgut.training.entity.transaction;

import cn.dgut.training.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="OrderCancel对象", description="取消订单表")
public class OrderCancel extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单表的订单ID")
    private Long orderId;

    @ApiModelProperty(value = "用户表的用户ID")
    private Long userId;

    @ApiModelProperty(value = "订单编号")
    private String orderSn;

    @ApiModelProperty(value = "取消订单表编号")
    private String orderCancelSn;

    @ApiModelProperty(value = "收货人名称")
    private String consignee;

    @ApiModelProperty(value = "收货人手机号")
    private String mobile;

    @ApiModelProperty(value = "订单退款理由")
    private String reason;

    @ApiModelProperty(value = "退货理由图片")
    private String reasonUrl;

}
